import request from '@/utils/request.js'
// 检测报告查询
export const getReport = () => request({
    url: '/api/ma/report',
    method: 'GET',
    data: {},
})
// 获取挂图
export const getFrontAlbum = () => request({
    url: '/api/ma/promotional-image',
    method: 'GET',
    data: {},
})

// 首页的公司简介
export const getFrontAdvertiseList = () => request({
    url: '/api/ma/index-media',
    method: 'GET',
    data: {},
})
// 提交业务委托
export const subBizConsulting = (data) => request({
    url: '/api/ma/business-consulting',
    method: 'POST',
    data: data,
})
// 提交技术咨询
export const subTechConsulting = (data) => request({
    url: '/api/ma/technical-advice',
    method: 'POST',
    data: data,
})
// 业务咨询的联系方式查询
export const getContactInfo = () => request({
    url: '/api/ma/link-info',
    method: 'GET',
    data: {},
})
// 获取预案列表
export const getPlanList = () => request({
    url: '/api/ma/plan',
    method: 'GET',
    data: {},
})
// 下载雷电防御挂图
export const downloadAlbum = () => request({
    url: '/api/ma/promotional-image/download',
    method: 'GET',
    data: {  },
})
// 根据编号查询检测报告
export const getQrScan = (docNumber) => request({
    url: '/api/ma/qr-scan',
    method: 'GET',
    data: { docNumber },
})